﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="header.ascx.cs" Inherits="web.header" %>

<script>

function AbreAdmin()
{
    PopupCenter("admin/default.aspx", "admin", 800,600);
}

function PopupCenter(pageURL, title,w,h) {
var left = (screen.width/2)-(w/2);
var top = (screen.height/2)-(h/2);
var targetWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
} 

</script>

<div class="header">
    <div class="quick-access">
        <ul class="links">
            <li class="first"><a href="javascript:AbreAdmin();" title="Sua Conta" class="">Sua Conta</a></li>
            <li><a href="#" title="My Wishlist" class="">Lista
                de Desejos</a></li>
            <li><a href="#" title="Cart" class="">Carrinho de compra</a></li>
            <li class=" last"><a href="#" title="Checkout" class="">
                Sair</a></li>
        </ul>
    </div>
    <a href="Default.aspx" title="Beleza da Ilha Cosméticos">
        <img src="images/logo.png" alt="Beleza da Ilha Cosméticos" style="position: absolute" />
    </a>
    <ul id="nav">
        <!-- ALTERNATIVE HOME BUTTON HACK -->
        <li class="home"><a href="Default.aspx">Início</a></li>
        <!-- ALTERNATIVE HOME BUTTON HACK -->
        <li><a href="Revista.aspx" title="Revista Digital">Revista Digital</a></li>
        <li><a href="Contatos.aspx" title="Contatos">Contato</a></li>
        <li><a href="TrabalheConosco.aspx" title="Trabalhe Conosco">Trabalhe Conosco</a></li>
        <%--<li><a href="ComprasOnline.aspx" title="Compras on-line">Compras on-line</a></li>--%>
    </ul>
</div>
<div class="top-section">
    <p class="welcome-msg">
        <%--<span>Bem Vindo!</span> Cria sua conta no site e receba ofertas especiais, <a href="javascript:AbreAdmin();">
            Clique Aqui</a></p>--%>
    <div>
       <%-- <p class="welcome-msg">
        </p>
        <form id="search_mini_form" action="http://jamesanelay.co.uk/bluecommerce/index.php/catalogsearch/result/"
        method="get">
        <div class="form-search">
            <label for="search">
                Busca:</label>
            <input id="search" type="text" name="q" value="" class="input-text" />
            <button type="" title="Go" class="button">
            </button>
            <div id="search_autocomplete" class="search-autocomplete">
            </div>
        </div>
        </form>--%>
    </div>
</div>
